body,html{
    width:100%;
    height:100%;
}
/*底部导航*/

.bottomnav {
    width: 100%;
    position: fixed;
    bottom: 0;
    background: #fff;
    z-index: 999;
}

.bnav1 {
    .addcart {
        position: absolute;
        right: 0;
        top: 0;
        width: 3.08rem;
        line-height: .53rem;
        background: #fccd59;
        text-align: center;
        font-size: .15rem;
    }
    .cartbox {
        width: .66rem;
        height: .53rem;
        background: url(../img/cartlogo.png) center center no-repeat;
        background-size: .4rem .34rem;
        position: relative;
        .cartTip {
        	display: none;
            width: .2rem;
            height: .2rem;
            background: red;
            position: absolute;
            text-align: center;
            line-height: .2rem;
            font-size: .14rem;
            color: #fff;
            border-radius: 50%;
            right: 0;
            top: -0.1rem;
        }
    }
}

.bnav2 {
    display: none;
    .addcart {
        width: 100%;
        line-height: .53rem;
        background: #fccd59;
        text-align: center;
        font-size: .15rem;
    }
    .numbox {
        width: 90%;
        padding-left: 10%;
        line-height: .5rem;
        border-bottom: 1px solid #ececec;
        border-top: 1px solid #ececec;
        font-size: .14rem;
        position: relative;
    }
    /*数量*/
    .controlbox {
        position: absolute;
        top: 0.15rem;
        right: .6rem;
        width: .91rem;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .less {
        width: .25rem;
        line-height: .25rem;
        text-align: center;
        border: 0.01rem solid #c2c2c2;
        font-size: .13rem;
    }
    .add {
        width: .25rem;
        line-height: .25rem;
        text-align: center;
        border: 0.01rem solid #c2c2c2;
        font-size: .13rem;
    }
    .num {
        width: .42rem;
        line-height: .25rem;
        text-align: center;
        border-top: 0.01rem solid #c2c2c2;
        border-bottom: 0.01rem solid #c2c2c2;
        font-size: .15rem;
    }
    .close {
        position: absolute;
        top: 0.18rem;
        right: .1rem;
        width: .2rem;
        height: .2rem;
        border-radius: 50%;
        border: 1px solid #666;
        text-align: center;
        ;
        line-height: .2rem;
        font-size: .12rem;
        color: #666;
    }
}





/*顶部导航*/

.topnav {
    width: 100%;
    height: .44rem;
    border-bottom: 1px solid #dedede;
    position: relative;
}

.back {
    position: absolute;
    left: .127rem;
    top: .147rem;
    width: .18rem;
    height: .18rem;
    background: url(../img/backlog.png);
    background-size: .18rem .18rem;
}






/*轮播图*/

.banner {
    width: 100%;
    height: 3.15rem;
    background: #fff;
    overflow: hidden;
}

.swiper-container {
    width: 3.28rem;
    height: 3.1rem;
    margin-top: .42rem;
}

.img_box {
    width: 98%;
    height: 1.42rem;
    margin: 0 auto;
    margin-left: 1%;
    margin-right: 1%;
    border-radius: 5px;
    overflow: hidden;
}

.swiper-slide {
    width: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
}

.swiper-pagination-bullet-active {
    background: #fccd59;
}

/*商品信息*/
.dislogo{
    width: .45rem;
    height: .16rem;
    line-height: .16rem;
    font-size: .12rem;
    background:#ff1818;
    color: #fff;
    text-align: center;
    border-radius: .20rem;
    padding-left: .05rem;
    padding-right: .04rem;
}
.goodsinfo {
    overflow: hidden;
    width: 100%;
    height: .51rem;
    background: #fff;
}

.goodsname {
    width: 3.53rem;
    margin: 0 auto;
    font-size: .16rem;
    color: #000;
    margin-top: -.02rem;
}

.goodspricbox {
    position: relative;
    margin-top: .11rem;
}

.goodspric {
    position: absolute;
    top: -.05rem;
    left: .12rem;
    font-size: .38rem;
    color: #FF4844;
    span {
        font-weight: normal;
        font-size: .20rem;
    }
}

.oprice{
    text-decoration: line-through;
    position: absolute;
    top: .14rem;
    left: 1.11rem;
    font-size: .13rem;
    color: #545454;
}
.pnum{
    position: absolute;
    left: 1.11rem;
    bottom: .14rem;
    color: #3f3f3f;
    font-size: .13rem;
    span{
        color: #ff4844;
    }
}
.end{
    position: absolute;
    top: .14rem;
    left: 2.64rem;
    color: #ff4844;
    font-size: .12rem;
}
.bar{
    box-sizing: border-box;
    width: 1rem;
    height: .15rem;
    line-height: .15rem;
    border-radius: .13rem;
    
    position: absolute;
    bottom: .14rem;
    left: 2.64rem;
    text-align: center;
    font-size: .12rem;
    color: #666;
    overflow: hidden;
    background: rgba(255,72,68,0.50);
}
.bartxt{
    position: absolute;
    width: 100%;
    text-align: center;
    line-height: .15rem;
    z-index: 333;
    left: 0;
    font-size: .12rem;
    color:#fff;
}
.progress{
    height: .15rem;
    width: 30%;
    background: #ff4844;
    position: absolute;
    left: 0;
    z-index: 3;
}


/*优惠*/

.discountbox {
    width: 100%;
    height: .64rem;
    overflow: hidden;
    color: #999;
    position: relative;
    background: #fff;
   border-top: 1px solid #ececec;
}

.distip {
    margin-left: .11rem;
}

.dis {
    font-size: .12rem;
    color: #F76D18;
    border: 1px solid #F76D18;
    text-align: center;
    height: .17rem;
    margin-left: .12rem;
    border-radius: 3px;
}
.spxq{
    width: 3.63rem;
    overflow: hidden;
    line-height: .44rem;
    font-size: .15rem;
     background: #fff;
     padding-left: .12rem;
     margin-top: .1rem;
     border-bottom: 1px solid #ececec;
}
/*图库*/
.detailinfor{
     margin-top: .1rem;
    width: 3.63rem;
    padding-left: .12rem;
    background: #fff;
    border-bottom: 1px solid #dedede;
    line-height: .44rem;
    font-size: .15rem;
    overflow: hidden;
}

.imgbox {
    width: 100%;
    height: 3.75rem;
    background: #ececec;
   border-bottom: 1px solid #ececec;
    img {
        width: 100%;
    }
}

/*按钮区域*/
.invtefirend,.downnowbtn,.endactive,.share{
    display: none;
}
